.cart-layout {
  position: relative;
}
/*头部*/
.cart-header h4 {
  text-align: center;
  line-height: 44px;
  font-size: 24px;
}
/*安全模块*/
.cart-safe {
  width: 100%;
  height: 33px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  line-height: 33px;
}
.cart-safe p {
  display: inline-block;
  padding-left: 33px;
  background: url(../images/safe_icon.png) no-repeat 7px 7px;
  background-size: 18px;
}
/*商品模块*/
.cart-product {
  margin-top: 10px;
}
.cart-product .check {
  position: absolute;
  left: 7px;
  top: 7px;
  height: 20px;
  width: 20px;
  background-position: -180px -89px;
}
.cart-product .p-title {
  position: relative;
  height: 34px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding-left: 34px;
  line-height: 32px;
  font-size: 12px;
  color: #999;
}
.cart-product .p-title .logo {
  width: 20px;
  height: 15px;
  margin-top: 9px;
}
.cart-product .p-title .text {
  margin-left: 10px;
}
.cart-product .p-title .free {
  margin-right: 10px;
}
.cart-product .p-main .item {
  position: relative;
  height: 100px;
  padding-left: 34px;
  border-bottom: 1px solid #ccc;
}
.cart-product .p-main .item .content {
  padding: 10px;
  height: 100px;
}
.cart-product .p-main .item .content .detail {
  float: left;
  height: 80px;
  width: 80px;
}
.cart-product .p-main .item .content .info {
  /*BFC布局*/
  overflow: hidden;
  height: 100%;
  padding: 0 10px;
}
.cart-product .p-main .item .content .info .text {
  overflow: hidden;
  font-size: 14px;
  line-height: 16px;
  height: 32px;
}
.cart-product .p-main .item .content .info .options {
  margin-top: 15px;
  /*旋转类名*/
}
.cart-product .p-main .item .content .info .options .num > * {
  float: left;
  width: 36px;
  height: 30px;
  border: 1px solid #ccc;
  text-align: center;
  line-height: 28px;
  color: #999;
}
.cart-product .p-main .item .content .info .options .num input {
  border-left: none;
  border-right: none;
}
.cart-product .p-main .item .content .info .options .num span {
  cursor: pointer;
}
.cart-product .p-main .item .content .info .options .delete {
  width: 18px;
  height: 22px;
  cursor: pointer;
}
.cart-product .p-main .item .content .info .options .delete .del-up {
  float: left;
  width: 18px;
  height: 4px;
  background: url(../images/delete_up.png) no-repeat;
  background-size: 18px 4px;
  /*过渡*/
  transition: all 0.5s;
  /*变换原点*/
  transform-origin: right center;
}
.cart-product .p-main .item .content .info .options .delete .del-down {
  float: left;
  width: 18px;
  height: 18px;
  margin-top: -2px;
  background: url(../images/delete_down.png) no-repeat;
  background-size: 18px;
}
.cart-product .p-main .item .content .info .options .open .del-up {
  transform: rotate(30deg);
}
/*模态框*/
.win-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.win-box .del-box {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}
.win-box .del-box p {
  font-size: 20px;
  height: 100px;
  line-height: 100px;
  border-bottom: 1px solid #ccc;
}
.win-box .del-box .btn-box {
  margin-top: 10px;
}
.win-box .del-box .btn-box a {
  width: 45%;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 10px;
  line-height: 38px;
}
.win-box .del-box .btn-box .yes {
  background-color: red;
  color: #fff;
  border: none;
}
